"""
from brick.lib.base import *
from pyglet import resource

class HelpState(BaseState):

    def __init__(self, text):
        BaseState.__init__(self)
        self.label = pyglet.text.HTMLLabel(text, 
            halign="center", width=10, multiline=True)

    def on_resize(self, width, height):
        BaseState.on_resize(self, width, height)
        self.label.x = width / 2
        self.label.y = height - 100
        self.label.width = width - 20
        
    def on_draw(self):
        glClear(GL_COLOR_BUFFER_BIT)
        glLoadIdentity()
        self.label.draw()
"""

